<?php
if (!defined('SMF'))
	die('Hacking attempt...');
	
function template_blacknova_admin()
{
	global $txt, $boarddir;

	echo '
	<table border="0" cellspacing="0" cellpadding="4" width="80%" class="tborder">
		<tr class="titlebg">
			<td>', $txt['bnt_gameadmin_subtitle'], '</td>
		</tr>
		<tr class="windowbg2">
			<td>';
			
	$action = $_GET['sa'];
	
	switch ($action)
	{
		case "log_viewer":
			include($boarddir . '/bnt/log.php');
			break;
		case "xenobe_control":
			include($boarddir . '/bnt/xenobe_control.php');
			break;
		default:
			include($boarddir . '/bnt/admin.php');
	}	
	
	echo '
			</td>
		</tr>
	</table>';

}

function template_blacknova_reset()
{
	global $txt, $boarddir;
	
	$phase = (isset($_POST['phase'])) ? $_POST['phase'] : '1';
	
	echo '
	<table border="0" cellspacing="0" cellpadding="4" width="80%" class="tborder">
		<tr class="titlebg">
			<td>', $txt['bnt_admin_reset_subtitle'], ' ', $phase, '</td>
		</tr>
		<tr class="windowbg2">
			<td>';
		
	include($boarddir . "/bnt/game_reset.php");

	echo '
			</td>
		</tr>
	</table>';

}

function template_blacknova_settings()
{
	global $scripturl, $txt, $context, $settings;

	echo '
	<table border="0" cellspacing="0" cellpadding="4" width="80%" class="tborder">
		<tr class="titlebg">
			<td>', $txt['bnt_settings_subtitle'], '</td>
		</tr>
		<tr class="windowbg2">
			<td>
				Settings here.
			</td>
		</tr>
	</table>';

}


function template_blacknovaadmin_above()
{

}

function template_blacknovaadmin_below()
{

}

?>
